#include <iostream>
#include <functional>

int add(int a, int b) { return a + b; }

int main() {
    std::function<int(int, int)> func = add;

    std::cout << func(3, 5);

    return 0;
}
